package com.ZengQi.event.entity;

/**
 * 对应数据库中的admin表的实现类
 */
public class Admin {
    /**
     * admin表的主键用以确保唯一性
     */
    private int adminId;
    /**
     * 登录的手机号
     */
    private String loginPnum;
    /**
     * 登录的密码
     */
    private String loginPwd;
    /**
     * 管理员姓名
     */
    private String adminName;
    /**
     * 管理员所属公司
     */
    private String adminCompany;

    public int getAdminId() {
        return adminId;
    }

    public void setAdminId(int adminId) {
        this.adminId = adminId;
    }

    public String getLoginPnum() {
        return loginPnum;
    }

    public void setLoginPnum(String loginPnum) {
        this.loginPnum = loginPnum;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public String getAdminCompany() {
        return adminCompany;
    }

    public void setAdminCompany(String adminCompany) {
        this.adminCompany = adminCompany;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "adminId=" + adminId +
                ", loginPnum='" + loginPnum + '\'' +
                ", loginPwd='" + loginPwd + '\'' +
                ", adminName='" + adminName + '\'' +
                ", adminCompany='" + adminCompany + '\'' +
                '}';
    }
}
